<?php
class TopicMoveForm extends Zend_Form {
    public function __construct($options = null) 
    {
    	$baseurl = new MHDEV_View_Helper_BaseUrl();
    	
        parent::__construct($options);
        
        $this->setName('move_topic');
        
        // Title
        $boards = new Zend_Form_Element_Select('board_uid');
        $boards->setLabel(Zend_Registry::get('lang')->_('form_move_topic'));
        $boards->setRequired(true);
        $boards->setErrorMessages(array(
            0 => Zend_Registry::get('lang')->_('error_form_move_topic'),
        ));
        
        // Submit
        $submit = new Zend_Form_Element_Submit('submit');
        $submit->setLabel(Zend_Registry::get('lang')->_('form_save'));
        $submit->setOrder(10);

        $this->addElements(array($boards, $submit));
    }
}  
?>